package com.bc.bczbweb.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.ModelAndViewDefiningException;

/**
 * @Name MainController
 * @Description
 * @Author douhaichao
 * @Date 2018/8/14 12:42
 * @Version 1.0
 **/
@Controller
@RequestMapping("main")
public class MainController extends BaseController {
    @RequestMapping("index")
    public ModelAndView index() {
        ModelAndView view = super.baseView("欢迎登录管理后台", "main/index");
        return view;
    }
}
